<div id="purchasestock">
    <div class="nav">
        <a href="#admin/purchase">
            <div class="nav-li">采购登记</div>
        </a>
        <a href="#admin/purchaselist">
            <div class="nav-li">采购列表</div>
        </a>
        <div class="nav-li focus">采购库存</div>
        <a href="#admin/conversion">
            <div class="nav-li">转化成品</div>
        </a>
        <a href="#admin/stock">
            <div class="nav-li">库存记录</div>
        </a>
    </div>
    <hr />
    <div class="purchasestock">
        <table>
            <thead>
                <td>材料编号</td>
                <td>品名</td>
                <td>单位</td>
                <td>库存数量</td>
                <td>单价</td>
                <td>厂商</td>
                <td>操作</td>
            </thead>
            <tr>
                <td>
                    CG G1C0472067 40R4
                </td>
                {{#if open_edit}}
                <td>
                    <input type="text" placeholder="原料品名" />
                </td>
                <td>
                    <input type="text" placeholder="单位" />
                </td>
                <td>
                    8000
                </td>
                <td>
                    <input type="text" placeholder="单价" />
                </td>
                <td>
                    <input type="text" placeholder="提供厂商" />
                </td>
                <td>
                    <a event-click="{{'$Top.$Event.purchasestock.edit_submit'}}">确定</a>
                    <a event-click="{{'$Top.$Event.purchasestock.edit_item'}}">取消修改</a>
                </td>
                {{#else}}
                <td>创可贴</td>
                <td>贴</td>
                <td>8000</td>
                <td>1.00</td>
                <td>万事达</td>
                <td>
                    <a event-click="{{'$Top.$Event.purchasestock.edit_item'}}">修改</a>
                </td>
                {{/if}}
            </tr>
        </table>
    </div>
</div>
